Yeah -- corporations aren't persons and don't have the rights of persons, according to precedent; it was invented by bad misreadings of cases.
There's also no such thing as "state secrets privilege" according to statute or common law. The concept originates from a ruling, US v. Reynolds, which was a case of clear error; it was a case where the government was attempting successfully to conceal criminal activity. (Eventually the truth came out.) Being founded on a crime, the entire doctrine is fruit of the poisoned tree and has no legal validity.
But we've got a fair lot of ignorant and crooked judges, so here we are.