AMENDED AND RESTATED MASTER LEASE AGREEMENT, dated as of August 4, 2009, by and among