Second Amended and Restated Warrant Agreement Dated as of October 11, 2013