A tactical problem to solve based on last night's session
Tactical Situation
Wizard polymorphs warlock (8th level) into a Giant Ape. (Did T-Rex last time, looking for variety and higher INT (7 vs 2); we also like that Giant Ape has a ranged option, throwing rocks, which the T-Rex does not).
Giant ape engages with a platoon of hobgoblin cavalry (11 hobgoblins on 11 worgs, wizard refrains from using fireball for in-story reasons)
In two rounds, partly due to martial advantage, the AC 12 Giant Ape takes 87 damage (out of 157) while only engaging three or four of the enemy (the Barbarian and Fighter were also engaged and the "quantity has a quality all its own" phenomenon of 5e was in evidence)
Fight ended when bard (hidden) cast Wall of Thorns from his Anstruth Harp which broke up the hobgoblin formation considerably.
Problem: Giant Ape's HP melted down too quickly due to low AC
The AC of 12 didn't do much to stop hits from landing; we anticipate much tougher foes than Hobgoblins in the near future. (Party is made up of level 8 PCs). We are kicking around a solution that goes something like this:
Warlock is polymorphed into Giant Ape
Someone casts barkskin on Warlock, sets AC to 16
Duration: Concentration, up to 1 hour
You touch a willing creature. Until the spell ends, the target’s skin has a rough, bark-like appearance, and the target’s AC can’t be less than 16, regardless of what kind of armor it is wearing.
We believe that if we cast barkskin on the Warlock before the polymorph, the 16 AC would not carry over. (If we have that wrong, please explain why).
What we seek in an answer
Presuming that we have three eligible spell casters - Arcane Trickster, Bard(Valor), and Wizard(Evoker); warlock is the party's go to for being turned into creatures) - how do I get one of them Barkskin to cast onto her? {It's a druid/ranger spell, and the Anstruth Harp doesn't have the spell on it the way the MacFuirmidh Cittern does}.
Another good kind of answer
If there is a different way to boost the Giant Ape's AC, that's also a good answer.
Note: the group of players, as a whole, really enjoyed having King Kong (well, Queen Kong) mix it up during the fight. Assume for any answer that we will use the Giant Ape again, not a T Rex or other beast, since it was a very popular choice once we all did the after battle confab.