If your Call of Duty key code shows as already in use, the best move is to contact the manufacturer or publisher's support directly and explain the situation. They can often verify your purchase and either resolve the conflict or issue you a new code.
Have your proof of purchase handy, as that will speed up the process considerably.