While it might look like "am" is the prefix, it's actually part of the root word "amen" which means "agreeable" or "willing." The prefix "a-" in this case means "to" or "in" and indicates movement towards something.
Therefore, "amenable" literally means "to be agreeable" or "to be willing to be influenced."