The abundance of primordial black holes is currently significantly constrained in a wide range of masses. The weakest limits are established for the small mass objects, where the small intensity of the associated physical phenomenon provides a challenge for current experiments. We used gamma-ray bursts with known redshifts detected by the Fermi Gamma-ray Burst Monitor (GBM) to search for the femtolensing effects caused by compact objects. The lack of femtolensing detection in the GBM data provides new evidence that primordial black holes in the mass range $10^{17}$ -- $10^{20},$g do not constitute a major fraction of dark matter.