When any tax collector fails to collect any taxes and the same are charged against him on settlement with the state or county, the collector shall be subrogated to the lien of the state and shall have a lien upon the real and personal property of the person, firm, or corporation against whom such taxes were assessed, if same were properly assessed against such person, firm, or corporation, for repayment to him of such money, which lien may be enforced in favor of such tax collector in the same manner that the liens for taxes in favor of the state and county may be enforced, at any time within 12 months after same are charged against such tax collector. The owner, his heirs, or personal representatives, or any person having an interest therein or in any part thereof, legal or equitable, in severalty or as tenant in common, including a judgment creditor, mortgagee, or other creditor having a lien thereon, or on any part thereof, shall have the same right to redeem real estate sold to satisfy a tax collector's lien and may redeem in the same manner as is provided by law for the redemption of real estate sold to satisfy the lien of the state for taxes.