(a) Fees designated as “local government fees” remitted by licensees who are located within an incorporated municipality shall be distributed:
(i) To such municipal corporation in the proportion that the population of the municipal corporation bears to the entire population of the county in which the municipal corporation is located, according to the most recent federal census; and
(ii) To the county in which the municipal corporation is located in the proportion that the population of the county outside of that municipal corporation bears to the entire population of the county, according to the most recent federal census.
(b) Fees designated as “local government fees” remitted by licensees who are not located within an incorporated municipality shall be distributed to the county in which the licensee is located.