codpiece (n.)
mid-15c., "a bagged appendage to the front of the breeches; often conspicuous" [OED], from Old English codd "a bag, pouch, husk," in Middle English, "testicles" (common Germanic, compare Old Norse koddi "pillow," Dutch kodde "bag") + piece (n.).