7643.5.
(a) Notwithstanding any other law concerning public hearings and records, a hearing or trial held under this part for an action filed on or after January 1, 2023, under Section 7613, subdivision (f) of Section 7630, or Part 7 (commencing with Section 7960), may be held in closed court without admittance of any person other than those necessary to the action or proceeding. Except as provided in subdivision (b), all papers and records, other than the final judgment, pertaining to the action or proceeding, whether part of the permanent record of the court or of a file in a public agency or elsewhere, are subject to inspection and copying only in exceptional cases upon an order of the court for good cause shown.(b) (1) Papers and records pertaining to the action or proceeding that are part of the permanent record of the court are subject to inspection and copying by the parties to the action, their attorneys, and by agents acting pursuant to written authorization from the parties to the action or their attorneys. An attorney shall obtain the consent of the party to the action prior to authorizing an agent to inspect and copy the permanent record. An attorney shall also state on the written authorization that the attorney has obtained the consent of the party to authorize an agent to inspect and copy the permanent record.
(2) For purposes of establishing parentage and establishing and enforcing child support orders, papers and records pertaining to the action or proceeding that are part of the permanent record of the court are subject to inspection and copying by any local child support agency, as defined in subdivision (h) of Section 17000.
(c) On or before January 1, 2023, the Judicial Council shall create a new form or modify an existing form, as it deems appropriate, that requires a party initiating an action or proceeding filed under Section 7613, subdivision (f) of Section 7630, or Part 7 (commencing with Section 7960) to designate the action or proceeding as filed under the identified statutory provision.
(d) Notwithstanding Section 4, Section 7643 shall apply to all actions filed prior to January 1, 2023.