AMENDMENT NO. 6 Dated as of December 20, 2016 to SECOND AMENDED AND RESTATED SENIOR SECURED NOTE PURCHASE AGREEMENT Dated as of May 9, 2013