The federal government has finalized its settlement with Facebook to resolve charges that the social network exposed details about users' lives without getting the required legal consent. It isn't the only tech company to have dealings with the government over privacy.