(a) Any person who undertakes or attempts to undertake the business of home inspection without first having been licensed as required by this chapter, or who knowingly presents or files false information with the Building Commission for the purpose of licensure as a home inspector or knowingly violates the Alabama Home Inspectors Code of Ethics or Alabama Home Inspectors Standards of Practice as promulgated by the Building Commission shall be deemed guilty of a Class A misdemeanor.
(b) A person who has failed to be licensed pursuant to this chapter shall not bring an action to enforce the provisions of any contract to provide home inspections which he or she entered into in violation of this chapter.