Upon application at any time prior to sale under tax execution of any person holding a mortgage upon any real or personal property which is assessed for taxation the county auditor shall apportion the share of taxes and costs due by the owner thereof upon that portion of or interest in the property mortgaged, and thereupon the county treasurer, county sheriff, county tax collector, town or city tax collector or any officer charged with the collection of taxes shall receive from the mortgagee the proportionate share of the taxes and costs upon such portion or interest mortgaged as estimated by the county auditor and give receipt therefor, which shall discharge such portion or interest mortgaged from all taxes and costs assessed against the owner.
S.C. Code § 12-45-150