Bad Company 2 Key code in use

I had BC2 installed on my previous computer and everything ran fine. When I got my new computer I installed BC2 (with steam) and it gave me a key code (just like the first time I installed it). When I tried the code it says key code in use. Is there anyways to fix this other than re buying the game? If so please post.

------PC Specs------
i5-3570k overclocked to 4.5GHz
2x EVGA GTX 580’s in SLI
Asus deluxe P8-z77 mobo
cosair H80 cooler
2x 1.5TB caviar black HDD’s
1x 90GB SSD (OS)
16BG cosair vengeance DDR3 RAM
coolermaster HAF X case

Contact with the support of steam and EA.