Before the conclusion of all aspects of a criminal matter that gives rise to an attorney's employment, an attorney may not make or negotiate an agreement with a client, a prospective client, or former client that provides the attorney literary or media rights to a portrayal or account based in substantial part on information relating to the representation.
Tex. Gov't. Code § 84.001