lock horns with vs sock it to one

lock horns with

sock it to one

How often have the words lock horns with and sock it to one occurred in a corpus of books? (source: Google Ngram Viewer )