. . . "The fourth section of the same article provides: `A mortgage, deed of trust, contract, or other obligation by which a debt is secured, shall, for the purposes of assessment and taxation, be deemed and treated as an interest in the property affected thereby." . .