(a) At any proceeding related to an offense under Section 42.072, Penal Code, in which the defendant appears before the court, a person may request the court to issue a protective order under Title 4, Family Code, for the protection of the person.
(b) The request under Subsection (a) is made by filing an application for a protective order in the same manner as an application for a protective order under Title 4, Family Code.