SECOND AMENDED AND RESTATED CREDIT AGREEMENT dated as of April 1, 2021 among SOLARIS MIDSTREAM HOLDINGS, LLC, The Lenders From Time to Time Party Hereto and WELLS FARGO BANK, NATIONAL ASSOCIATION, as Administrative Agent and Lead Arranger