(a)
Except as provided in subdivision (b), the petitioner or respondent may redact any social security number from any pleading, attachment, document, or other written material filed with the court pursuant to a petition for dissolution of marriage, nullity of marriage, or legal separation. The Judicial Council form used to file such a petition, or a response to such a petition, shall contain a notice that the parties may redact any social security numbers from those pleadings, attachments, documents, or other material filed with the court.
(b)
An abstract of support judgment, the form required pursuant to subdivision (b) of Section 4014, or any similar form created for the purpose of collecting child or spousal support payments may not be redacted pursuant to subdivision (a).