Singer , songwriter , and producer Ryan Tedder from the band OneRepublic has written hit songs for artists like Jennifer Lopez , Natasha Bedingfield , and Hillary Duff .