SECOND AMENDED AND RESTATED CREDIT AND SECURITY AGREEMENT Dated as of August 14, 2013