keep one's nose to the grindstone vs work one's socks off on

keep one's nose to the grindstone

work one's socks off on

How often have the words keep one's nose to the grindstone and work one's socks off on occurred in a corpus of books? (source: Google Ngram Viewer )