The "mortgagee clause" in a property policy protects the lender by: