(vi) The parties hereto agree that (x) irrespective of whether the Designated Agent may
be equitably subrogated, in the event that an Erroneous Payment (or portion thereof) is not recovered from any Payment Recipient that has received such Erroneous Payment (or portion thereof) for any reason, the Designated Agent shall be subrogated
to all the rights and interests of such Payment Recipient (and, in the case of any Payment Recipient that has received funds on behalf of a Lender, to the rights and interests of such Lender, as the case may be) under the Loan Documents with respect
to such amount (the Erroneous Payment Subrogation Rights) (provided that the Loan Parties obligations under the Loan Documents in respect of the Erroneous Payment Subrogation Rights shall not be duplicative of
such obligations in respect of Advances that have been assigned to the Designated Agent under an Erroneous Payment Deficiency Assignment) and (y) an Erroneous Payment shall not pay, prepay, repay, discharge or otherwise satisfy any obligations
owed by the Borrower or any other Loan Party; provided that, that for the avoidance of doubt, immediately preceding clauses (x) and (y) shall not apply to the extent any such Erroneous Payment is, and solely with respect to the
amount of such Erroneous Payment that is, comprised of funds received by the Designated Agent from the Borrower or the Guarantor for the purpose of making such Erroneous Payment.
(vii) To the extent permitted by applicable law, no Payment Recipient shall assert any right or claim to an Erroneous Payment, and hereby
waives, and is deemed to waive, any claim, counterclaim, defense or right of set-off or recoupment with respect to any demand, claim or counterclaim by the Designated Agent for the return of any Erroneous
Payment received, including, without limitation, any defense based on discharge for value or any similar doctrine.
(viii)
Each partys obligations, agreements and waivers under Section 7.04(b) shall survive the resignation or replacement of the Designated Agent, any transfer of rights or obligations by, or the replacement of, a Lender, the termination of the
Commitments and/or the repayment, satisfaction or discharge of all obligations (or any portion thereof) under any Loan Document.
SECTION
7.05. Indemnification. The Lenders severally agree to indemnify the Designated Agent (to the extent not reimbursed by the Loan Parties but without affecting any Loan Partys obligations with respect thereto), ratably according to the
respective principal amounts of Advances then owing to each of them (or, if no Advances are at the time outstanding, ratably according to the respective amounts of their Commitments, or if no Commitments are then in effect, ratably according to the
respective amounts of their Commitments most recently in effect), from and against any and all liabilities, obligations, losses, damages, penalties, actions, judgments, suits, costs, expenses or disbursements of any kind or nature whatsoever which
may be imposed on, incurred by or asserted against the Designated Agent in any way relating to or arising out of this Agreement or any action taken or omitted by the Designated Agent under this Agreement in its capacity as such; provided that
no Lender shall be liable for any portion of such liabilities, obligations, losses, damages, penalties, actions, judgments, suits, costs, expenses or disbursements resulting from the Designated Agents gross negligence or willful misconduct, as
determined by a court of competent jurisdiction in a final and non-appealable judgment. Without limitation of the foregoing, each Lender agrees to reimburse the Designated Agent promptly upon demand for its
ratable share of any out-of-pocket expenses (including reasonable counsel fees) incurred by the Designated Agent in connection with the preparation, execution, delivery,
administration, modification, amendment or enforcement (whether through negotiations, legal or bankruptcy proceedings or otherwise) of, or legal advice in respect of rights or responsibilities under, this Agreement, to the extent that the Designated
Agent is not reimbursed for such expenses by the Loan Parties. In the case of any investigation, litigation or proceeding giving rise to any such liabilities, obligations, losses, damages, penalties, actions, judgments, suits, costs, expenses or
disbursements, this Section 7.05 applies whether any such investigation, litigation or proceeding is brought by the Designated Agent, any Lender, any Loan Party or a third party.
SECTION 7.06. Successor Designated Agent. The Designated Agent may resign at any time by giving written notice thereof to the Lenders
and the Borrower and such resignation shall be effective upon the appointment of a successor Designated Agent as provided herein. Upon any such resignation, the Majority Lenders shall have the right (with the consent of the Borrower unless an Event
of Default has
53