AMENDED AND RESTATED SOFTWARE LICENSE AGREEMENT