Courteney Cox is defending her decision to base a character on troubled star Britney Spears in the second season of her hit TV show Dirt.