The transfer of any contract or contracts secured by a trust deed shall operate as a transfer of the security for such contract or contracts.