The legislation aims to attract foreign capital and accelerate Indonesia’s economic growth.