The provisions of this chapter do not apply to:

(A) a person employed by the State of South Carolina or any political subdivision of the State as a code enforcement official when acting within the scope of that employment;

Terms Used In South Carolina Code 40-26-30

(B) a person inspecting a commercial structure exclusively for the use of a bank, savings and loan association, or credit union, unless otherwise required by federal law or regulation.