Max Martin, whose real name is Karl Martin Sandberg, has been writing and producing hit pop songs since the '90s.