During the campaigns of 1864 the 14th Georgia Regiment was assigned to A. P. Hill's 3rd Corps, Wilcox's Division (Maj. Gen. C. M. Wilcox) as part of Thomas's Brigade (Brig. Gen. E. L. Thomas). At that same time the 58th Massachusetts belonged to Ambrose Burnside's IX Corps, 2nd Division (Brig. Gen. Robert B. Potter) as part of the 1st Brigade (Col. John I. Curtin).
The other limitation concerns the two soldiers you mentioned. We would need to know if they were present or even on roll during the period in question.
Do you have their service records?