On the Origin of HD 149026b