The winner of a Powerball or Mega Millions jackpot can remain anonymous only if they played the lottery in one of 17 states that allow it.