When any land is situated in a drainage district and is subject to any special drainage district assessment which is secured by a lien on said land, such lien shall not be abated or cancelled on account of the sale of such land to the state for delinquent taxes, but such lien shall be held in abeyance during the period the property is owned by the state and, immediately upon the title to the land passing from the state by virtue of a sale, such lien shall again become effective. And, likewise, when any land is situated in a municipality and is subject to any special municipal benefit assessment which is secured by a lien on the land, such lien shall not be abated or cancelled on account of the sale of such land to the state for delinquent taxes, but such lien shall be held in abeyance during the period such property is owned by the state and, immediately upon the title to the state passing from the state by virtue of a sale, such lien shall again become effective.