Word Study
codpiece
CIDE DICTIONARY
codpiece, n. [Cod, n., + piece.].
A part of male dress in front of the breeches, formerly made very conspicuous. Shak. Fosbroke. [1913 Webster]
OXFORD DICTIONARY
codpiece, n. hist. an appendage like a small bag or flap at the front of a man's breeches.
Etymology
ME, f. cod scrotum + PIECE
For further exploring for "codpiece" in Webster Dictionary Online