Foreword: I am using 3 characters from Forgotten Realms, just to illustrate the scenario. The question is not about FR, but about skill mechanics and DC. Also history is used below just as an example.
Given 3 characters with the same history skill total (same ability modifier, same proficiency), each of them alone (no assist) facing the same history skill check:
The 1st one is from a radically different background, and shouldn't have ever even heard about the subject in his homeland.
The 2nd one is from a neighboring background, that is indifferent to the subject.
The 3rd character's background has intricate intimacy with the subject, and could have had several chances to learn about the subject during his early days.
The subject are the ruins of an ancient elven kingdom far in the north-west: The elven realm of Eaerlann.
Lets give a face to our historians:
A dwarf librarian from a dwarf realm underneath Var the Golden in the far south-east. He has never left his lands until now, and had little contact with elven history.
A human mage from Waterdeep. He traveled a bit around the region, it would not be a surprise if he learned some lore about Eaerlann.
An elven archeologist from Evereska. His homeland is right next to where the fallen kingdom was, some survivors from that place ended up in his homeland, and has all the interest in elven lore.
Given those 3 characters, how should the DM adjucate the familiarity of each character on the skill roll:
Do not change anything. Everyone rolls the same DC as a standard skill check.
Grant advantage/disadvantage based on familiarity. The dwarf has disadvantage, the human rolls normal, and the elf has advantage.
Modify the skill DC. It is a hard roll for the dwarf, a moderate for the human and an easy one for the elf.
Of course you are not bound by these 3 choices above, but please do state the reasons.
(I also suspect that RAW has nothing on the matter)