Every person authorized by law to perform the civil marriage ceremony, before solemnizing a civil marriage, may examine the parties on oath, which oath the person is authorized to administer, as to the legality of the intended civil marriage. No person shall solemnize a civil marriage unless satisfied that there is no legal impediment to it, that a civil marriage license has been obtained, and that the individuals present are the persons named in the license.