Hmm, your liver may be partly responsible for your inability to lose weight, but not likely, unless you have liver disease or any factor which affects liver function.
I would say that estrogen dominance is a more
suspicious and this alone would explain the tendency to
gain weight (and potentially leading to other serious chronic illness).
Avoiding phytoestrogenic foods, plastics, stress, estrogen- loaded contraceptives (if female-your profile states male).
Do follow a diet which includes insoluble fiber, take probiotics daily of the highest quality you can afford,
get a bioidentical progesterone cream and apply daily
(vary the part of the body constantly) and consider getting
liver function testing.
The other possibility would be sluggish thyroid function, but beware the standard thyroid tests only test for serum levels of thyroid hormones and NOT thyroid function.
The recommended tests for thyroid function are Free T3,
Free T4 and Reverse T3. This way thyroid resistance or type 2 hypothyroidism can be ruled out 100%.
I hope this helps.