(a) Whenever the electors of any county of this state may levy a voluntary tax, it shall be unlawful for the county judge, the county court, or any other county official to use or allocate any moneys derived from any voluntary tax for purposes other than for which it was levied and collected.
(b) Any county official violating the provisions of this section shall, upon conviction, be removed from office.