FIRST AMENDMENT TO AMENDED AND RESTATED SECOND LIEN CREDIT AGREEMENT dated as of March 27, 2017 among TITAN ENERGY OPERATING, LLC, as Borrower, TITAN ENERGY, LLC, as Parent, and THE LENDERS FROM TIME TO TIME PARTY HERETO,