(a) In a civil proceeding or action brought under this subchapter, the court shall determine whether the anonymity of a woman who received or attempted to receive a dismemberment abortion shall be preserved from public disclosure without her written consent.
(b)
(1) Upon determining that the anonymity of a woman who received or attempted to receive a dismemberment abortion shall be preserved, the court shall issue an order to the parties, witnesses, and counsel and shall direct the sealing of the record and exclusion of individuals from courtrooms or hearing rooms to the extent necessary to safeguard from public disclosure the identity of the woman who received or attempted to receive a dismemberment abortion.
(2) An order under subdivision (b)(1) of this section shall be accompanied by specific written findings explaining:
(A) Why the anonymity of the woman who received or attempted to receive a dismemberment abortion should be preserved from public disclosure;
(B) Why the order is essential to that end;
(C) How the order is narrowly tailored to serve that end; and
(D) Why no reasonable, less restrictive alternative exists.
(3) In the absence of written consent of the woman who received or attempted to receive a dismemberment abortion, anyone other than a public official who brings an action under § 20-16-1804 shall bring the action under a pseudonym.
(4) This subsection does not conceal from the defendant the identity of the plaintiff or of a witness.