agree to vs submit to

agree to

submit to

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