I don't know how Massachusetts law -- or US Federal law -- swings, but here in the UK there's a specific crime, magnificently called Conspiracy to Pervert the Course of Justice, which covers everything from perjury to faking evidence. And while the average sentence is on the order of 2 years, there's no upper limit: a life sentence is possible in sufficiently extreme cases.