1054.2.
(a) (1) Except as provided in paragraph (2), no attorney shall disclose or permit to be disclosed to a defendant, members of the defendant’s family, or anyone else, the personal identifying information of a victim or witness whose name is disclosed to the attorney pursuant to subdivision (a) of Section 1054.1, other than the name of the victim or witness, unless specifically permitted to do so by the court after a hearing and a showing of good cause.(2) Notwithstanding paragraph (1), an attorney may disclose or permit to be disclosed the personal identifying information of a victim or witness to persons employed by the attorney or to persons appointed by the court to assist in the preparation of a defendant’s case if that disclosure is required for that preparation. Persons provided this information by an attorney shall be informed by the attorney that further dissemination of the information, except as provided by this section, is prohibited.
(b) If the defendant is acting as their own attorney, the court shall endeavor to protect the personal identifying information of a victim or witness by providing for contact only through a private investigator licensed by the Department of Consumer Affairs and appointed by the court or by imposing other reasonable restrictions, absent a showing of good cause as determined by the court.
(c) For the purposes of this section, personal identifying information has the same definition as in Section 530.55, except that it does not include name, place of employment, or an equivalent form of identification.