contribute vs serve to

contribute

verb
  • To give something that is or becomes part of a larger whole. 

serve to

How often have the words contribute and serve to occurred in a corpus of books? (source: Google Ngram Viewer )