GCD Raised too!

If $$a$$ and $$b$$ are positive integers such that $$\gcd(a,b)=13$$, then find the sum of all distinct values of $$\gcd(a^3,b)$$.

 Notation: $$\gcd(\, \cdot \, , \cdot)$$ denotes the greatest common divisor function.

×