In a criminal prosecution, no statement or report in the possession of the state which was made by a prosecution witness or prospective prosecution witness (other than the defendant) to an agent of the state may be the subject of subpoena, discovery, or inspection until the witness has testified on direct examination at the preliminary hearing, or in the trial of the case.