If the owner, or any person interested in any land sold for taxes, shall at any time within two (2) years after the sale for taxes produce a receipt of the tax collector showing payment of the taxes, for which the land was sold, before the sale, and shall pay to the chancery clerk all subsequently accrued taxes, the said clerk shall release to the owner or person interested the title of the state or individual purchaser to such land. The land so released shall thereafter be dealt with as lands redeemed are required to be, and the tax collector, whose receipt was so produced, shall be charged with the taxes collected by him as in the case of other taxes.