(a) Any bank may assume secondary liability as an endorser of a negotiable or nonnegotiable instrument that it owns or has received for collection or that of the guarantor of the genuineness of a signature.
(b) A bank may disclaim all or any part of the foregoing obligation in its guaranty; however, nothing in this section shall conflict with the Uniform Commercial Code, compiled in title 47, and the Uniform Commercial Code shall govern.