Pop singer and songwriter Meghan Trainor had already devoted most of her life to music when she scored her first hit in 2014 (when she was 20 years old) with a dance-friendly paean to body positivity, "All About That Bass."