hang out to dry vs leave someone to their own devices

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 to their own devices

verb
  • to leave alone, unsupervised, without assistance. 

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