AMENDED AND RESTATED INTELLECTUAL PROPERTY SECURITY AGREEMENT