Social media giants pay $27M to settle Kentucky school lawsuit