Protect xProfile fields based on Membership subscription level

I'm using buddypress for my users' profiles and membership plugin for subscriptions: is there a way to protect specific xProfile Fields or xProfile fields groups?
I need to hide some profile fileds or field groups based on displayed member subscription level, but looking at the APIs I can do it only by logged user.
When I list my members, only if a user has a full subscription all profile filelds are visible to community.