If any provision of this Agreement or the Note, or any action taken hereunder, or any application thereof, is for any reason held to be illegal or invalid, such illegality or invalidity shall not affect any other provision of this Agreement or the Note, each of which shall be construed and enforced without reference to such illegal or invalid portion and shall be deemed to be effective or taken in the manner and to the full extent permitted by law.