hang out to dry vs leave someone holding the bag

hang out to dry

verb
  • To abandon someone who is in need or in danger, especially a colleague or one dependent. 

  • Used other than figuratively or idiomatically: see hang, out, dry. 

leave someone holding the bag

verb
  • To abandon somebody, leaving him or her holding the responsibility or blame. 

  • To remove the value from an article or arrangement and leave somebody holding the empty (or valueless) container. 

How often have the words hang out to dry and leave someone holding the bag occurred in a corpus of books? (source: Google Ngram Viewer )