FBI head helped Facebook defend encryption he’s now fighting