put a sock in it vs shut your trap

put a sock in it

verb
  • To stop talking; to be quiet; to shut one's mouth. 

shut your trap

How often have the words put a sock in it and shut your trap occurred in a corpus of books? (source: Google Ngram Viewer )