be good enough vs do the trick

be good enough

do the trick

verb
  • To work; to be successful; to solve a problem; to be sufficient or adequate to fulfill a purpose. 

How often have the words be good enough and do the trick occurred in a corpus of books? (source: Google Ngram Viewer )