Notwithstanding any other law that establishes the amount of a court cost collected by the clerk of a district, county, or statutory county court from a defendant in a criminal proceeding based on the law in effect on the date the offense was committed, the amount of a court cost imposed on the defendant in a criminal proceeding must be the amount established under the law in effect on the date the defendant is convicted of the offense.
Tex. Gov't. Code § 51.608