Facebook must disclose app records for Massachusetts probe, judge rules