If any term of provision hereof is determined to be invalid or unenforceable in a final court or arbitration proceeding, (i) the remaining terms and provisions hereof shall be unimpaired and (ii) to the extent permitted by applicable law, the invalid or unenforceable term or provision shall be deemed replaced by a term or provision that is valid and enforceable and that comes closest to expressing the intention of the invalid or unenforceable term or provision.