be advantageous to vs be to the advantage of

be advantageous to

be to the advantage of

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