SECOND AMENDED AND RESTATED CREDIT AGREEMENT Dated as of October 1, 2007 by and among CORPORATE OFFICE PROPERTIES, L.P.,