Walmart's Gearhart to take on role of corporate secretary