AMENDED AND RESTATED SERIES B WARRANT AGREEMENT Dated as of August 27, 2009