27-1-503. What defenses to action survive assignment of right to action. In the case of an assignment of a thing in action, the action by the assignee is without prejudice to any setoff or other defense existing at the time of or before notice of the assignment, but this section shall apply only to the extent not otherwise provided for in the Uniform Commercial Code.