(725 ILCS 5/115-6.1)
    Sec. 115-6.1. Prostitution; affirmative defense.
    (a) In prosecutions for prostitution, when the accused intends to raise at trial the affirmative defense provided in subsection (c-5) of Section 11-14 of the Criminal Code of 2012 and has reason to believe that the evidence presented in asserting that defense may jeopardize the safety of the accused, courtroom personnel, or others impacted by human trafficking, the accused may file under seal a motion for an in camera hearing to review the accused's safety concerns. Upon receipt of the motion and notice to the parties, the court shall conduct an in camera hearing, with counsel present, limited to review of potential safety concerns. The court shall cause an official record of the in camera hearing to be made, which shall be kept under seal. The court shall not consider the merits of the affirmative defense during the in camera review.
    (b) If the court finds by a preponderance of the evidence that the assertion of an affirmative defense under subsection (c-5) of Section 11-14 of the Criminal Code of 2012 by the accused in open court would likely jeopardize the safety of the accused, court personnel, or other persons, the court may clear the courtroom with the agreement of the accused, order additional in camera hearings, seal the records, prohibit court personnel from disclosing the proceedings without prior court approval, or take any other appropriate measure that in the court's discretion will enhance the safety of the proceedings and ensure the accused a full and fair opportunity to assert his or her affirmative defense.
    (c) Statements made by the accused during the in camera hearing to review safety concerns shall not be admissible against the accused for the crimes charged.
(Source: P.A. 99-109, eff. 7-22-15.)