The cost of programmers in a very limited area of the United States is not sufficient to define the cost of software development in general.
Paralegals are essentially slave laborers who get billed out at huge rates but who take home a pittance in the hope of making partner one day. The legal profession is not what it's cracked up to be unless you make partner or go into business for yourself.
My cost of a knowledge worker is based out of Ames, IA. Not precisely a hotbed of 200,000 salaries. But it is indicative of a professional and the indirect costs associated with employing them (payroll taxes, health benefits, bonuses, etc).
It's 7 years, and a minimum of 3 in-person court visits, plus any number of briefs, letters, preparation, and communicating with the plaintiffs (only some of this work is done by the paralegals; all the paralegal's work still goes through a lawyer). Perhaps you can be a bit more explicit in how you think all that effort wouldn't cost the firm millions of dollars?
One good software dev will cost a company almost a quarter of a million dollars every year. More if in NY or SF. 6 years of one knowledge worker’s salary would run the bill over the $1.5m. 7 years, with paralegals, expenses (for physically attending the various appeals), and a dozen other small expenses I’d be shocked if their actual costs were under $1.5m.