be versed in vs have learned by heart

be versed in

have learned by heart

How often have the words be versed in and have learned by heart occurred in a corpus of books? (source: Google Ngram Viewer )