It will only affect your hireling I believe, whichever char the xp mythstone is on.
So if you put xp myth in your hireling, it will only increase your hireling exp.
If you put xp myth in your main, it will not affect your hireling exp, it will only increase your main exp.