fit the bill vs solve the problem

fit the bill

verb
  • To satisfy a need; to serve a purpose; to fulfill specified requirements. 

solve the problem

How often have the words fit the bill and solve the problem occurred in a corpus of books? (source: Google Ngram Viewer )