(a) If the attorney general has reason to believe that a person is committing, has committed, or is about to commit an unlawful act, the attorney general may institute an action for an appropriate order to restrain the person from committing or continuing to commit the act.
(b) An action under this section shall be brought in a district court of Travis County or of a county in which any part of the unlawful act occurred, is occurring, or is about to occur.