(a) An issuer that brings an action under this chapter shall pay costs of the action, except as provided by Subsection (b).
(b) The court may require a person other than the attorney general who appears and contests or intervenes in the action to pay all or part of the costs as the court determines equitable and just.