You could try e-mailing Steam as they would normally contact the original owner of the CD-Key to confirm if they have sold it or not. If so, they will release it for you to register.
I purchased team fortress 2 from mm and when i tried to install it it says duplicate cd key and wont install.
Is there anything i can do to resolve it
Ask for your money back?