A person authorized by law to solemnize civil marriages who knowingly solemnizes a civil marriage contrary to the provisions of this chapter, or knowing of any legal impediment to the proposed civil marriage, or who willfully makes a false certificate of any civil marriage or pretended civil marriage is guilty of a misdemeanor.