If after receipt of any payment of all or part of the Obligations, Bank is for any reason compelled to surrender such payment to any person or entity, because such payment is determined to be void or voidable as a preference, impermissible setoff, or diversion of trust funds, or for any other reason, this Agreement will continue in full force and effect and Borrower will be liable to, and will indemnify, save and hold Bank, its officers, directors, attorneys, and employees harmless of and from the amount of such payment surrendered. The provisions of this Section will be and remain effective notwithstanding any contrary action which may have been taken by Bank in reliance on such payment, and any such contrary action so taken will be without prejudice to Bank's rights under this Agreement and will be deemed to have been conditioned upon such payment becoming final, indefeasible and irrevocable. In addition, Borrower will indemnify, defend, save and hold Bank, its officers, directors, attorneys and employees harmless of, from and against all claims, demands, liabilities, judgments, losses, damages, costs and expenses, joint or several (including all accounting fees and attorneys' fees reasonably incurred), that Bank or any such indemnified party may incur arising out of this Agreement, any of the Loan Documents or any act taken by Bank hereunder provided such action is either permitted or authorized under the Loan Documents and/or applicable law except for the illegal activities, willful misconduct or gross negligence of such indemnified party. The provisions of this Section will survive the termination of this Agreement.