Foreign investment laws get security tweak