The hitmaker, 48, penned one of her most well-known tracks, Rihanna’s “Diamonds,” in ... slim window in which Sia wrote it — and, apparently, her other songs as well.