Any contractor, officer, superintendent, agent, or person in charge of said work who shall violate any of the provisions of Section 31-5-17, shall be liable upon conviction before a court of competent jurisdiction to a fine of not more than One Hundred Dollars ($100.00) or to imprisonment of not more than sixty (60) days, or both at the discretion of the court; and every day’s employment of each workman or laborer in such violation shall constitute a separate offense.
However, where any workman or laborer furnishes such employer with a certificate by the sheriff, chancery clerk, or county registrar of the county of his domicile to the effect that such workman or laborer has actually resided in this state two (2) years next preceding such employment, such employer, acting in good faith, shall be relieved of any liability by reason of employing such person.