SECOND AMENDED AND RESTATED PLATFORM LICENSE AGREEMENT