In all cases the answer is of the druid, because those attributes (Cha, HD) are not altered by wild shape. I think you may be missing the profoundly different way polymorphs work in Pathfinder.
The druid's wild shape ability works like the beast shape spell. And the beast shape spell is a polymorph effect. Read polymorph carefully.
While these spells make you appear to be the creature, granting you a +20 bonus on Disguise skill checks, they do not grant you all of the abilities and powers of the creature.
You do not get the creature's HD or Charisma at all. You get physical attribute bonuses and natural armor based on size, get the creature's movement type and natural attacks (based on your BAB and STR), and specifically listed abilities. This is a significant departure from other editions. You barely need the original creature's stats at all to wild shape - you need its size, number and type of attacks, movement type, and some special abilites (trip, rake, blindsight, etc.) and that is it.
I don't know that "ordering" is the right way of thinking about it - when you turn into the animal, your HD is your HD, not the animal's HD. Whether you think about it as "order" or think about it as "the animal's HD just changed to mine," in either case you'd use your druid's attributes on the lookup table and calculations.
You get the SR and Smite Evil because you change to the animal form and then "apply the template to your animal form" as the feat states.