The former *NSYNC singer and the pop star dated from 1999 to 2002.