Okay, lets say you open the company. your game is about to finish. you hire someone as a contractor for composing musics and he/she does a great job. You release your game and you find out that the composed music wasn't really the intellectual property of a contractor that you hired. Just to make the situation worst, the original owners of the intellectual property suddenly decides to sue you for stealing their work. Now the questions I want to find out are:
1: Who should be paying the legal fees? company or the contractor you hired?
2: if its the company then are there anyways to make it so that the contractor would be responsible if something like this happens?
Thank you in advance,