(a) This section does not apply in Baltimore City or Prince George’s and Worcester counties.
(b) Except as otherwise provided in this article or Title 13, Subtitle 1 and Subtitle 3, Part I and §§ 13–205 and 16–115 of the Local Government Article, a county, municipal corporation, or other political subdivision of the State may not:
(1) require a local license in that county, municipal corporation, or political subdivision to engage in a business or occupation for which a State license is required under this article; or
(2) impose a local fee or tax to engage in a business or occupation for which a State license is required under this article.
(c) A county, municipal corporation, or other political subdivision of the State may require a local license if necessary for regulatory purposes in the interest of the public health, safety, or morals.
(d) A public local law passed after October 1, 1941, does not repeal any provision of this section unless the public local law expressly refers to and repeals the provision.