Where a power to sell lands shall be given to the grantee, in any mortgage or other conveyance intended to secure the payment of money, the power shall be deemed a part of the security, and shall vest in any person who shall become entitled to the money so secured to be paid.
IC 30-1-9-18