It is unlawful for any person who has been commissioned as a notary public, either as a result of election or upon direct appointment by the governor, to take acknowledgments or otherwise act in an official capacity after the expiration of such notary's commission. A violation of this section is a Class C misdemeanor.