Whenever the persons securing title under a trust deed or mortgage foreclosure sale shall own or represent a majority in amount of the bonds or other evidences of debt secured by any such trust deed or mortgage, and also shall include the persons who owned a majority in amount of the capital stock of such mortgagor corporation at the time of the sale, such purchasers and such corporation as they shall organize also shall have, possess, and enjoy any exemption, privilege, or immunity previously granted by any law to such former corporation relating to any of the property so acquired to the same extent as if such latter corporation had been named in such law as the grantee thereof.
N.D.C.C. § 49-09-10