(a) An offender who enters an intervention program shall:
(1) Waive, in writing, and contingent upon the successful completion of the program, his or her right to a speedy trial.
(2) Agree, in writing, to the tolling, while in the program, of periods of limitations established by statute or rules of court.
(3) Agree, in writing, to the conditions of the Pre-Trial Intervention Program established by the district attorney.
(4) Provide a statement as to the involvement in the crime charged which shall be admissible in any criminal trial.
(5) If there is a victim of the crime, agree in writing to a restitution agreement within a specified period of time and in an amount to be determined by the district attorney taking into account all circumstances of the offender and victim.
(b) Pre-Trial Intervention Program records or records related to Pre-Trial Intervention Program admission, except for the statement of the applicant concerning his or her involvement in the crime charged, shall not be admissible in subsequent proceedings, criminal or civil, and communications between Pre-Trial Intervention Program counselors and defendants shall be privileged unless a court of competent jurisdiction determines there is a compelling public interest that the communications be revealed.