The previous owner has to do it from their account.
1. Login to the iTunes Store with the currently associated Apple ID
2. Choose Store > View Account.
2. Click Manage Devices in the iTunes in the Cloud section.
3. Click Remove next to the device that you want to remove.