No idea... but not sure how entering a code could hurt you...
nor am i, but i distinctly remember an event from several years back about forwarding beta invites via messages that did get a few people hacked
it may have been for battlefield - i dont remember the specifics but i know it involved live messages so i was doubly concerned with an actual marketplace code