Sections 287.01 to 287.12 shall not apply to mortgages taken in good faith by persons or corporations whose property is expressly exempted from taxation by section 272.02, subdivision 1, clauses (1) to (7), or mortgagees that are fraternal benefit societies subject to section 64B.24.