(a) An official of a bank who holds a commission as notary public may act as notary in taking the acknowledgment of mortgages and deeds of trust executed in favor of the bank. All such instruments previously acknowledged in this manner are declared to have been lawfully acknowledged and entitled to record.
(b) This section does not authorize such an official to take the acknowledgment of a deed of trust wherein he or she is named the trustee.