Venezuelan lawmakers are debating mining reforms aimed at attracting foreign investment and providing legal guarantees after past expropriations.