(a) This section applies only in a county with a population of 3.4 million or more.
(b) Except as otherwise provided by law, all pleadings and other documents filed with the court in a suit affecting the parent-child relationship are confidential, are excepted from required public disclosure under Chapter 552, Government Code, and may not be released to a person who is not a party to the suit until after the date of service of citation or the 31st day after the date of filing the suit, whichever date is sooner.