SIXTH AMENDMENT TO THE SECOND AMENDED AND RESTATED CREDIT AGREEMENT