The county treasurer or other person exercising the functions of county treasurer of every county who has heretofore paid county money to any city or town for public improvements around or abutting any lot or block occupied by buildings belonging to such county is hereby released, relieved, and discharged from any and all liability for any and all sums of money so paid, and all payments heretofore made for such improvements by any county are hereby ratified and confirmed.
Ala. Code § 11-14-8 (1975)