Exhibit 5.1
| | |

| | |
| Mayer Brown LLP 71 South Wacker Drive Chicago, Illinois 60606 United States of America T: +1 312 782-0600 F: +1 312 701-7711 mayerbrown.com |
May 23, 2022 |
Discover Funding LLC 12 Read’s Way New Castle, Delaware 19720 |
Re: | Discover Funding LLC, Discover Card Execution Note Trust, |
Class A(2022-2) Notes, Registration Statement on Form SF-3
(No. 333-260957)
We have acted as special counsel for Discover Bank, a Delaware banking corporation (“Discover Bank”), Discover Funding LLC, a Delaware limited liability company (“Discover Funding”), and Discover Card Execution Note Trust (the “Note Issuance Trust”), in connection with the offering of the Class A(2022-2) notes (the “Notes”) described in the prospectus dated May 19, 2022 (the “Prospectus”), which has been filed with the Securities and Exchange Commission (the “Commission”) pursuant to Rule 424(b) of the Securities and Exchange Act of 1933, as amended (the “Act”). The Notes will be sold pursuant to an Underwriting Agreement, dated as of May 19, 2022 (the “Underwriting Agreement”), among Discover Bank, Discover Funding, the Note Issuance Trust and the representatives of the underwriters named in the Prospectus. The Notes will be issued pursuant to the Amended and Restated Indenture, dated as of December 22, 2015, as amended by Amendment No. 1 to Master Indenture and Amendment No. 1 to Second Amended and Restated Indenture Supplement, dated as of August 27, 2019 (the “Indenture”), between the Note Issuance Trust and U.S. Bank National Association, as Indenture Trustee (the “Indenture Trustee”), as supplemented by the Second Amended and Restated Indenture Supplement, dated as of December 22, 2015, as amended by Amendment No. 1 to Master Indenture and Amendment No. 1 to Second Amended and Restated Indenture Supplement, dated as of August 27, 2019 (the “Indenture Supplement”), between the Note Issuance Trust and the Indenture Trustee, and the Terms Document, to be dated on or about May 26, 2022 (the “Terms Document”), between the Note Issuance Trust and the Indenture Trustee. Unless otherwise defined herein, all capitalized terms used herein shall have the meanings assigned to them in the Indenture.
We have examined executed copies of the above captioned Registration Statement, as amended (the “Registration Statement”), registering asset-backed notes representing debt of the Note Issuance Trust, the Indenture, the Indenture Supplement, the Terms Document and such other documents as we have deemed necessary for the purposes of this opinion (collectively, the “Transaction Documents”). We are familiar with the proceedings taken by Discover Funding in connection with the authorization of the issuance and sale of the Notes, and have examined such documents and such questions of law and fact as we have deemed necessary in order to express the opinion hereinafter stated.
Mayer Brown is a global services provider comprising an association of legal practices that are separate entities including Mayer Brown LLP (Illinois, USA), Mayer Brown International LLP (England), Mayer Brown (a Hong Kong partnership) and Tauil & Chequer Advogados (a Brazilian partnership).