out of the woods vs over the worst of it

out of the woods

prep
  • Out of peril; likely to recover or prevail over trouble; finished with the worst or most threatening part of a problem or illness. 

  • Used other than figuratively or idiomatically: see out of, the, woods. 

over the worst of it

How often have the words out of the woods and over the worst of it occurred in a corpus of books? (source: Google Ngram Viewer )