As an “abundance of prudence,” the judge ruled that the 17-year-old who was accused of raping another teen, while other teens recorded not to publish footage of the assault.