give someone their just deserts vs take reprisals against

give someone their just deserts

take reprisals against

How often have the words give someone their just deserts and take reprisals against occurred in a corpus of books? (source: Google Ngram Viewer )