Same proficiency from two different sources do…

Same proficiency from two different sources does the survivalist rule in XGE contradict this?

In PHB, it specifies that if you gain the same proficiency from two different sources, you may choose a different prof of the same type (skill or tool) instead.