Where a mortgagee of land has been in possession of any of the mortgaged land for a period of 12 years, an action to redeem the land of which the mortgagee has been in possession shall not thereafter be brought by the mortgagor or a person claiming through the mortgagor.