Legal basis:
Article 406 of the Civil Code stipulates that during the mortgage period, the mortgagor may transfer the mortgaged property. Unless otherwise agreed by the parties, such agreement shall prevail. If the mortgaged property is transferred, the mortgage right will not be affected.
Where the mortgagor transfers the mortgaged property, it shall promptly notify the mortgagee. If the mortgagee can prove that the transfer of the mortgaged property may damage the mortgage right, he may require the mortgagor to pay off the debt or deposit the proceeds of the transfer in advance with the mortgagee. The part of the transfer price exceeding the amount of creditor's rights belongs to the mortgagor, and the insufficient part is paid off by the debtor.
Article 524 of the Civil Code: If the debtor fails to perform the debt and a third party has a legitimate interest in performing the debt, the third party has the right to perform it on his behalf; However, unless it can only be performed by the debtor according to the nature of the debt, the agreement of the parties or the law. After the creditor accepts the performance of the third party, its creditor's right to the debtor is transferred to the third party, unless otherwise agreed between the debtor and the third party.