A PowerSchool data breach has exposed the Social Security numbers of more than 300,000 teachers and 900 students in North Carolina.