Both sentences are correct and mean the same thing.
When writing and speaking, "unique to" is a better choice nowadays
"Peculiar to" is old-fashioned and a little "literary." In fact, as you can see from other answers here, not all native speakers are familiar with this old phrase and its meaning.
The word "peculiar" by itself usually means strange, unusual, weird, bizarre, or odd. The English word "crwth" is peculiar because it doesn't contain any of the normal vowels. John Cage's piece of music, "4'33," is peculiar because it consists of complete silence. Airplanes with pusher propellers look peculiar because we are used to seeing the propellers in front.
However, in the phrase "peculiar to," it "peculiar" loses the connotation of being weird or odd.
I think that "unique to" and "peculiar to" are interchangeable.