28-2-708. Restraints upon legal proceedings void. Every stipulation or condition in a contract by which any party to the contract is restricted from enforcing the party's rights under the contract by the usual proceedings in the ordinary tribunals or that limits the time within which the party may enforce the party's rights is void. This section does not affect the validity of an agreement enforceable under Title 27, chapter 5.