codpiece

a piece of cloth, especially a decorative one, attached to a man’s lower clothing and covering his genitals, worn in Europe in the 15th and 16th centuriesWord Originfrom earlier cod‘scrotum’ (from Old Englishcodd‘bag, pod’) + piece.